<template>
  {{ props.modelValueModifiers.upcase }}
  <hr>
  {{ props.emailModifiers }}
  <hr>

  用户 <input type="text" :value="props.modelValue" @input="emit('update:modelValue', $event.target.value)">
  <hr>
  邮箱
  <input type="text" :value="props.email" @input="emit('update:email', $event.target.value)">
</template>
<script setup>
const props = defineProps(['modelValue', 'email', 'modelValueModifiers', 'emailModifiers']);
const emit = defineEmits(['update:modelValue', 'update:email'])
</script>